package com.shimao.celnet.payment.model;

import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "b_house")
public class BHouse  extends BaseModel implements Serializable {

    /**
     * 小区guid小区信息表<b_estate>GUID
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "estate_guid")
    private String estateGuid;

    /**
     * sf房源guid对应salesforce的房源GUID
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "sf_guid")
    private String sfGuid;

    /**
     * SAP房源主键对应salesforce的房源SAPKEY
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "sap_key")
    private String sapKey;

    /**
     * 房源名称房间（房源）名称：小区-楼栋-单元-房号
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "house_name")
    private String houseName;



    /**
     * 获取小区guid小区信息表<b_estate>GUID
     *
     * @return estate_guid - 小区guid小区信息表<b_estate>GUID
     */
    public String getEstateGuid() {
        return estateGuid;
    }

    /**
     * 设置小区guid小区信息表<b_estate>GUID
     *
     * @param estateGuid 小区guid小区信息表<b_estate>GUID
     */
    public void setEstateGuid(String estateGuid) {
        this.estateGuid = estateGuid;
    }

    /**
     * 获取sf房源guid对应salesforce的房源GUID
     *
     * @return sf_guid - sf房源guid对应salesforce的房源GUID
     */
    public String getSfGuid() {
        return sfGuid;
    }

    /**
     * 设置sf房源guid对应salesforce的房源GUID
     *
     * @param sfGuid sf房源guid对应salesforce的房源GUID
     */
    public void setSfGuid(String sfGuid) {
        this.sfGuid = sfGuid;
    }

    /**
     * 获取SAP房源主键对应salesforce的房源SAPKEY
     *
     * @return sap_key - SAP房源主键对应salesforce的房源SAPKEY
     */
    public String getSapKey() {
        return sapKey;
    }

    /**
     * 设置SAP房源主键对应salesforce的房源SAPKEY
     *
     * @param sapKey SAP房源主键对应salesforce的房源SAPKEY
     */
    public void setSapKey(String sapKey) {
        this.sapKey = sapKey;
    }

    /**
     * 获取房源名称房间（房源）名称：小区-楼栋-单元-房号
     *
     * @return house_name - 房源名称房间（房源）名称：小区-楼栋-单元-房号
     */
    public String getHouseName() {
        return houseName;
    }

    /**
     * 设置房源名称房间（房源）名称：小区-楼栋-单元-房号
     *
     * @param houseName 房源名称房间（房源）名称：小区-楼栋-单元-房号
     */
    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }
}